﻿#ifndef STOCKVIEW_H
#define STOCKVIEW_H

#include <QDialog>
#include "env.h"

namespace Ui {
class StockView;
}

class StockView : public QDialog
{
    Q_OBJECT

public:
    explicit StockView(QWidget *parent = 0);
    ~StockView();

    void setHeaderData();

private slots:
    void on_btn_month_clicked();

    void on_btn_full_clicked();

    void on_btn_submit_clicked();

    void on_btn_revert_clicked();

    void on_btn_today_clicked();

private:
    Ui::StockView *ui;

    QSqlTableModel *model;
};

#endif // STOCKVIEW_H
